package com.qd.panda.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 开票记录明细
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("panda_user_bill_records_details")
public class UserBillRecordsDetails extends Model<UserBillRecordsDetails> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "did", type = IdType.ASSIGN_ID)
    private String did;
    /**
     * 记录ID
     */
    @TableField("log_id")
    private String logId;
    /**
     * 行程ID
     */
    @TableField("sid")
    private String sid;

    public void freeData() {
        this.did = null;
        this.logId = null;
        this.sid = null;
    }

}
